package com.dyit.dao;

import com.dyit.entity.Library;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ILibraryDao extends JpaRepository<Library,Integer> {
//    Library findById(int id);//根据图书馆id找图书馆
    Library findLibraryById(int id);
    // 根据图书馆id找图书馆对象
}
